import React from 'react';

const MaterialIcon = ({ color }: { color: string }) => (
  <span
    className='inline-block w-5 h-5 rounded-full border border-gray-300 mr-2 align-middle'
    style={{ background: color }}
  />
);

export default MaterialIcon;
